<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="refresh" content="30">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<style type="text/css">
table, td, th{	border:0px solid black; }
th{	background-color:skyblue; color:white; font-size:14px; }
td{	background-color:gainsboro ;font-size:16px; text-align:center;}
</style>
</head>
<body>
<center>
<img src="/BF_MES/img/bfgif11.gif" style="vertical-align:middle;">
</center>
<div id="result">
	<table border=1>
		<tr>
			<th>lot ID</th>
			<th>lot 공정<br> 시작일</th><th>lot 공정<br> 종료일</th>
			<th>원재료 kg</th><th>최대 생산 수</th>
			<th>1 공정<br> 실패율</th><th>2 공정 <br> 실패율</th><th>3 공정 <br> 실패율</th>
			<th>전체 공정 실패율</th><th>실제 생산 수</th>
			<th>1 공정 <br> 운행수</th><th>2 공정 <br> 운행수</th><th>3 공정 <br> 운행수</th>
		</tr>
		<c:forEach items="${requestScope.lotList }" var="lot">
			<tr>
				<td>${lot.lot_id}</td>
				<td>${lot.lot_start}</td><td>${lot.lot_end}</td>
				<td>${lot.lot_input}</td><td>${lot.lot_output}</td>
				<td>${lot.lot_op1_fail}</td><td>${lot.lot_op2_fail}</td><td>${lot.lot_op3_fail}</td>
				<td>${lot.lot_fail}</td><td>${lot.lot_ok}</td>
				<td>${lot.lot_op1_hp}</td><td>${lot.lot_op2_hp}</td><td>${lot.lot_op3_hp}</td>
			</tr>
		</c:forEach>
	</table>
</div>
</body>
</html>